<%@ page import="java.util.Random" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/2/22
  Time: 23:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%=Math.sin((new Random()).nextDouble())%>
<jsp:useBean id="user" class="edu.zust.se.bean.User">
    <jsp:setProperty name="user" property="userName" value="张三"/>
    <jsp:setProperty name="user" property="password" value="123456"/>
</jsp:useBean>
<%=user.getUserName()%>
</body>
</html>
